package com.study.sbsummary.model.dto;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import lombok.Data;

/**
 * @Description:承接访问用的的数据外壳
 * @Author: Gaorui
 * @Date: 2022-02-15
 */
@Data
public class TruelyWrapperDTO {
	String status;
	Integer code;
	String reason;
	String msg;
	JSONObject result;

	public <T> T parseResult(Class<T> c) {
		return JSON.toJavaObject(result, c);
	}
}
